/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package classes;

import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import javax.persistence.OneToOne;
import javax.persistence.Table;
import javax.xml.bind.annotation.XmlRootElement;

/**
 *
 * @author Iserj
 */
@Entity
@Table(name = "equipamento")
@XmlRootElement
public class Equipamento implements Serializable {

    private static final long serialVersionUID = 1L;
    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    
    private Integer idEquip;
    
    private String equi_nome;
    
    private String equi_preco;
    
    private int equi_quant;
    
    private String equi_cod;
    
    private String equi_inf;
    
    public Integer getIdEquip() {
        return idEquip;
    }

    public void setIdEquip(Integer idEquip) {
        this.idEquip = idEquip;
    }

    public String getEqui_nome() {
        return equi_nome;
    }

    public void setEqui_nome(String equi_nome) {
        this.equi_nome = equi_nome;
    }

    public String getEqui_preco() {
        return equi_preco;
    }

    public void setEqui_preco(String equi_preco) {
        this.equi_preco = equi_preco;
    }

    public int getEqui_quant() {
        return equi_quant;
    }

    public void setEqui_quant(int equi_quant) {
        this.equi_quant = equi_quant;
    }

    public String getEqui_cod() {
        return equi_cod;
    }

    public void setEqui_cod(String equi_cod) {
        this.equi_cod = equi_cod;
    }

    public String getEqui_inf() {
        return equi_inf;
    }

    public void setEqui_inf(String equi_inf) {
        this.equi_inf = equi_inf;
    }

}
